package com.example.movie.mate.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.movie.mate.pojo.entity.Booking;
import com.example.movie.mate.pojo.vo.BookingSimpleInfoVO;

import java.util.List;

/**
 * 订单Mapper接口
 */
public interface BookingMapper extends BaseMapper<Booking> {

    BookingSimpleInfoVO selectByIdAndUserId(Long id, Long userId);

    List<BookingSimpleInfoVO> selectByUserId(Long userId);

}